package cn.uexpo.lhz.biz.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.uexpo.lhz.common.oldBase.BOException;
import cn.uexpo.lhz.common.oldUtils.PageRequest;
import cn.uexpo.lhz.common.oldUtils.PageResult;
import cn.uexpo.lhz.biz.EventActivityBiz;
import cn.uexpo.lhz.dao.EventActivityMapper;
import cn.uexpo.lhz.domain.EventActivity;
import cn.uexpo.lhz.domain.EventActivityExample;


@Service
public class EventActivityBizImpl  implements EventActivityBiz {

	@Autowired
	private EventActivityMapper eventActivityMapper;

	@Override
	public int insert(EventActivity record) throws BOException {
		return eventActivityMapper.insert(record);
	}

	@Override
	public int insertSelective(EventActivity record) throws BOException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteByPrimaryKey(Integer id) throws BOException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteEntity(EventActivity record) throws BOException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteByIds(List<Integer> ids) throws BOException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int delete(List<EventActivity> records) throws BOException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteByExample(EventActivityExample example) throws BOException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByPrimaryKey(EventActivity record) throws BOException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByPrimaryKeySelective(EventActivity record) throws BOException {
		// TODO Auto-generated method stub
		return eventActivityMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByExampleSelective(EventActivity record, EventActivityExample example) throws BOException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByExample(EventActivity record, EventActivityExample example) throws BOException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public EventActivity selectByPrimaryKey(Integer id) throws BOException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public EventActivity selectByUniqueCode(String uniqueCode) throws BOException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<EventActivity> selectByExample(EventActivityExample example) throws BOException {
		// TODO Auto-generated method stub
		return eventActivityMapper.selectByExample(example);
	}

	@Override
	public long countByExample(EventActivityExample example) throws BOException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public PageResult findPage(PageRequest pageRequest, EventActivityExample example) throws BOException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<EventActivity> selectActivityAndLocation(String eventId) {
		// TODO Auto-generated method stub
		return eventActivityMapper.selectActivityAndLocation(eventId);
	}

	@Override
	public List<EventActivity> selectActivityIDAndLocationName(EventActivity record) {
		// TODO Auto-generated method stub
		return eventActivityMapper.selectActivityIDAndLocationName(record);
	}

	@Override
	public int deleteById(Integer activityId) {
		return eventActivityMapper.deleteById(activityId);
	}


}
